docs: def serialize_to_display(self, doc_format="pretty-xml", *args, **kwargs):
          """Serialize ResourceMap to an XML doc that is pretty printed for display.
  
          Args:
            doc_format: str
              One of: ``xml``, ``n3``, ``turtle``, ``nt``, ``pretty-xml``, ``trix``,
              ``trig`` and ``nquads``.
  
            args and kwargs:
              Optional arguments forwarded to rdflib.ConjunctiveGraph.serialize().
  
          Returns:
            str: Pretty printed Resource Map XML doc
  
          Note:
            Only the default, "xml", is automatically indexed by DataONE.
  
          """
          return (
              super(ResourceMap, self)
              .serialize(format=doc_format, encoding=None, *args, **kwargs)
              .decode("utf-8")
          )