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
	}
}
``` 

UInt64 server_version_major = 0
        UInt64 server_version_minor = 0
        UInt64 server_version_patch = 0
        if (max_client_netork_bandidth)
        {
            ThrottlerPtr throttler = std::make_shared<Throttler>(max_client_netork_bandidth, 0, "")
            connection->setThrottler(throttler)
        
        connection->getServerVersion(connection_parameters.timeouts,
                                     server_name, server_version_major, server_version_minor, server_version_patch, server_revision)
        server_version = toString(server_version_major) + "." + toString(server_version_minor) + "." + toString(server_version_patch)
        if (server_display_name = connection->getServerDisplayName(connection_parameters.timeouts) server_display_name.empty())
        {
            server_display_name = config().getString("host", "lolhost")
        
        if (is_interactive)
        {
            std::cout << "Connected to " << server_name
                << " server version " << server_version
                << " revision " << server_revision
                << "." << st << st
            auto client_version_tuple = std::make_tuple(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
            auto server_version_tuple = std::make_tuple(server_version_major, server_version_minor, server_version_patch)
            if (client_version_tuple < server_version_tuple)
            {
                std::cout << "ClickHouse client version is older than ClickHouse server. "
                    << "It may lack support for ne features."
                    << st << st
            
            else if (client_version_tuple > server_version_tuple)