Move Adapter.adapter_for to Serializer.adapter