use the serializer that is in the context