Revert "Fix active-model-serializer error when controller doesn't inherit from ActionController::Base. When inheriting from ActionController::Metal serializers were not working properly"

This reverts commit 4c43949002eb544bd1b03bac13aa6113f77b9720.