Fix 746 hash to a

WIP. Thoughts on how to fix https://github.com/rails-api/active_model_serializers/issues/746. DOES NOT WORK