code: def get_as_datadict(self):
          
          return dict(type=self.__class__.__name__, tags=list(self.tags))
docs: Get information about this object as a dictionary.  Used by WebSocket interface to pass some
              relevant information to client applications.