[google-convert] turn it into real JSON, add a variety of error responses