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



@obrie @will-ob @gerbercj @andyleclair