I am having trouble with the output of this script. When the response is returned, the \'details\' response has the phrase "\\n" throughout. How can I save the res