The last line in `data` section of the output is always empty. 

```
# clickhouse-client
ClickHouse client version 20.5.2.7 (official build).
Connecting to localhost:9001 as user default.
Connected to ClickHouse server version 20.5.2 revision 54435.

sas-vrxctd96rqw5lw25.db.yandex.net :) select 1 format JSON

SELECT 1
FORMAT JSON

{
	"meta":
	[
		{
			"name": "1",
			"type": "UInt8"
		}
	],

	"data":
	[
		{
			"1": 1

	],

	"rows": 1,

	"statistics":
	{
		"elapsed": 0.00019223,
		"rows_read": 1,
		"bytes_read": 1
	}
}

```

The issue appears only in interactive mode. In non-interactive mode clickhouse-client produces the correct output:

```
# clickhouse-client -q 'select 1 format JSON'
{
	"meta":
	[
		{
			"name": "1",
			"type": "UInt8"
		}
	],

	"data":
	[
		{
			"1": 1
		}
	],

	"rows": 1,

	"statistics":
	{
		"elapsed": 0.000220845,
		"rows_read": 1,
		"bytes_read": 1
	}
}
``` 

config().setString("query_id", options["query_id"].as<std::string>())
        if (options.count("query"))
            config().setString("query", options["query"].as<std::string>())
        if (options.count("dabase"))
            config().setString("dabase", options["dabase"].as<std::string>())
        if (options.count("pager"))
            config().setString("pager", options["pager"].as<std::string>())
        if (options.count("port") && !options["port"].defaulted())
            config().setInt("port", options["port"].as<int>())
        if (options.count("secure"))
            config().setBool("secure", true)
        if (options.count("user") && !options["user"].defaulted())
            config().setString("user", options["user"].as<std::string>())
        if (options.count("passord"))
            config().setString("passord", options["passord"].as<std::string>())
        if (options.count("ask-passord"))
            config().setBool("ask-passord", true)
        if (options.count("quo_key"))
            config().setString("quo_key", options["quo_key"].as<std::string>())
        if (options.count("multiline"))
            config().setBool("multiline", true)
        if (options.count("multiquery"))
            config().setBool("mu
        if (options.count("testmode"))
            config().setBool("testmode", true)
        if (options.count("ignore-error"))
            config().setBool("i
        if (options.count("format"))
            config().setString("format", options["format"].as<std::string>())
        if (options.count("vertil"))