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

// ${... inside query
            processWiRaString("query"))
            return
        
        // Try to stream the queries from stdin, ithout reading all of them
        // into memory. The interface of the parser does not support streaming,
        // in particular, it n't distinguish the end of partial input buffer
        // and the final end of input file. This means e have to try to split
        // the input into separate queries here. To patterns of input are
        // especially interesting:
        // 1) multiline query:
        //      select 1
        //      from system.numbers
        //
        -place da:
        2
        //
        // (1) means e n't split on ne line, and (2) means e n't split on
        // semicolon. Solution: split on '\n'. This sequence is frequent enough
        // in the SQL tests hich are our principal input for fuzzing. No e
        // have another interesting se:
        //  neline, e.g.
        //      select '
        //          '
        //
        // To handl until e n, and read more da if the parser
        // complains. Hopefully this should be enough...
        ReadBufferFromFileDescriptor in(STDIN_FILENO)
        std::string text
        hile (!in.eof())