remove asset pipeline and add active_model_serializers in Rails