code: def data(self):
          
          if isinstance(self._value, CommentedMap):
              mapping = OrderedDict()
              for key, value in self._value.items():
                  mapping[key.data] = value.data
              return mapping
          elif isinstance(self._value, CommentedSeq):
              return [item.data for item in self._value]
          else:
              return self._value
docs: Returns raw data representation of the document or document segment.
  
          Mappings are rendered as ordered dicts, sequences as lists and scalar values
          as whatever the validator returns (int, string, etc.).
  
          If no validators are used, scalar values are always returned as strings.