def METHOD_NAME(self, obj):
    # Returns a JSON-serializable object for compatibility with
    # django.core.serializers.python.Serializer. Obviously this is
    # not strictly a string, but it's closer than the collection of
    # attrs instances returned by the default implementation.
    return self.builder.jsonify(self.value_from_object(obj))