docs: def serialise(self, element: Element) -> str:
          """
          Serialises the given element into Compact JSON.
  
          >>> CompactJSONSerialiser().serialise(String(content='Hello'))
          '["string", null, null, "Hello"]'
          """
  
          return json.dumps(self.serialise_element(element))