code: def serialize_tag(tag, *, indent=None, compact=False, quote=None):
      
      serializer = Serializer(indent=indent, compact=compact, quote=quote)
      return serializer.serialize(tag)
docs: Serialize an nbt tag to its literal representation.