It's a bit of a smell having all these `as_json` methods in the models.  You could look at https://github.com/rails-api/active_model_serializers for a clean way to implement your serialization.  As your API grows having serialization defined in a standard place will make things much easier.