Allow for undecodable JSON to be returned

In which case the client can attempt to introspect the returned bytes
to see what the issue might be.