Are you using delimiters in the response /*{json}*/ and triming them on response?