Easy to reproduce:
### 20.3.13
```
SELECT 1
FORMAT JSON

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

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

        "rows": 1,

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

### 20.4.5
```
:) select 1 format JSON

SELECT 1
FORMAT JSON

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

        "data":
        [
                {
                        "1": 1
>>>>>>>> no closing bracket <<<<<<<<<<
        ],

        "rows": 1,

        "statistics":
        {
                "elapsed": 0.000771732,
                "rows_read": 1,
                "bytes_read": 1
        }
}
```
### master
```

SELECT 1
FORMAT JSON

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

        "data":
        [
                {
                        "1": 1
>>>>>>>> no closing bracket <<<<<<<<<<
        ],

        "rows": 1,

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

```

) || *begin == '')
                ++begin
            TestHint test_hint(test_mode, str)
            expected_client_error = test_hint.clientError()
            expected_server_error = test_hint.serverError()
            try
            {
                auto ast_to_process = orig_ast
                if (insert && insert->da)
                {
                    ast_to_process = nullptr
                    processTextAsSingleQuery(str)
                
                else
                {
                    parsed_query = ast_to_process
                    full_query = str
                    query_to_send = str
                    processParsedSingleQuery()
                
            
            tch (...)
            {
                last_exception_received_from_server = std::make_unique<Exception>(getCurrentExceptionMessage(true), getCurrentExceptionCode())
                actual_client_error = last_exception_received_from_server->code()
                if (!ignore_error && (!actual_client_error || actual_client_error != expected_client_error))
                    std::cerr << "Error on processing query: " << str << st << last_exception_received_from_server->message()
                received_exception_from_server = true
            
            if (!test_hint.checkActual(actual_server_error, actual_client_error, received_exception_from_server, last_exception_received_from_server))