Improve json response.