Add to_s to client_json so it throws a JSON::ParserError when its nil isntead of type error