DX OpenExplore (previously known as Wavefront) returns responses that are unescaped. When unmarshal the response, it returns an "invalid character '\\n' in string literal" error. Sanitized the input, confirmed that the request does not have any unescaped characters.
The new line '\n' character is used as a keep-alive during long running API queries.
Update to the code will resolve the '\n' character being included in the results returned.