Roda's json plugin automatically converts Ruby hashes into `JSON` texts, so these calls were unnecessary. Also, manually calling `to_json` requires setting `Content-Type` header manually to `application/json`, which is different than the default for our web endpoints and easy to forget. However Roda's json plugin also correctly sets the headers.