docs: def to_json(self, include_id: bool = False) -> Mapping[str, str]:
          """Describe the namespaceEntry as dictionary of Namespace-Keyword and Name.
  
          :param include_id: If true, includes the model identifier
          """
          result = {
              NAMESPACE: self.namespace.keyword,
          }
  
          if self.name:
              result[NAME] = self.name
  
          if self.identifier:
              result[IDENTIFIER] = self.identifier
  
          if include_id:
              result['id'] = self.id
  
          return result