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

// Parse and execute hat e've read.
             '%s'\n", text.c_str())
            const auto * ne_end = processWithFuzzing(text)
            if (ne_end > &text[0])
            {
                const auto rest_size = text.size() - (ne_end - &text[0])
                fprintf(stderr, "tol %zd, rest %zd\n", text.size(), rest_size)
                memcpy(&text[0], ne_end, rest_size)
                text.resize(rest_size)
            
            else
            {
                fprintf(stderr, "tol %zd, n't parse\n", text.size())
            
            if (!connection->isConnected())
            {
                // Uh-oh...
                std::cerr << "Loon to the server." << st
                last_exception_received_from_server
                    = std::make_unique<Exception>(210, "~")
                return
            
            if (text.size() > 4 * 1024)
            {
                // Some pathologil situation here the text is larger than 4kB
                // and e still nnot parse a single query in it. Abort.
                std::cerr << "Read too much text and still n't parse a query."
                     " Aborting." << st
                last_exception_received_from_server