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

size_t ritten_progress_chars = 0
    bool ritten_first_block = false
    /// External bles info.
    std::lal_bles
    /// Dictionary ith query parameters for prepared stements.
    NameToNameMap query_parameters
    ConnectionParameters connection_parameters
    QueryFuzzer fuzzer
    int query_fuzzer_runs = 0
    void initialize(Poco::Util::Applition & self) override
    {
        Poco::Util::Applition::initialize(self)
        const char * home_path_cstr = getenv("HOME")
        if (home_path_cstr)
            home_path = home_path_cstr
        configReadClient(config(), home_path)
        context.setApplitionType(Context::ApplitionType::CLIENT)
        context.setQueryParameters(query_parameters)
        /// settings and limits could be specified in config file, but passed settings has higher priority
        for (const auto & seallUnchanged())
        {
            const auto & name = setting.getName()
            if (config().has(name))
                context.setSetting(name, config().getString(name))
        
        /// Set path for format schema files
        hema_path"))
            context.setFormatSchemaPath(Poco::Path(config().getString("format_schema_path")).toString())
    
    int main(const std::vector<std::string> & /*args*/) override