inject the needed serializers directly instead of the serializer registry