docs: def to_dict(self, delimiter=DEFAULT_DELIMITER, dict_type=collections.OrderedDict):
          """ Get the dictionary representation of the current parser.
  
          :param str delimiter: The delimiter used for nested dictionaries,
              defaults to ":", optional
          :param class dict_type: The dictionary type to use for building the dictionary
              reperesentation, defaults to collections.OrderedDict, optional
          :return: The dictionary representation of the parser instance
          :rtype: dict
          """
  
          root_key = self.sections()[0]
          return self._build_dict(
              self._sections, delimiter=delimiter, dict_type=dict_type
          ).get(root_key, {})