Added json_response to return data for all calls.