This will be specific to the server you are running/calling, but a json-rpc server should only ever speak in valid JSON, so this output is definitely not being handled correctly.
If your request is invalid, this just happens to also be an invalid way of responding. What does your request look like?