FYI, this JSON format will certainly change soon. We're currently using https://github.com/rails-api/active_model_serializers, but we'll be soon moving to https://github.com/RestPack/restpack-serializer.