converts response to json by first converting the response to text

response_to_json(x)

Arguments

x

A response