code: def to_dict(self):
          
          return {name: {'value': self._process_value(str, value)}
                  for name, value in self._ea_dict.items()
                  if not (value is None or value == "" or value == [])}
docs: Converts extensible attributes into the format suitable for NIOS.