Fix JSON generation in ngx_http_upstream_check_status_handler