response_to_json.Rd
converts response to json by first converting the response to text
response_to_json(x)
A response