see: https://github.com/rails-api/active_model_serializers/pull/233