Add method that prepares value for serializers