Update response.json to improve API design.