code: def yaml(self):
          
          return ordered_dump(OrderedDict(self),
                              Dumper=yaml.SafeDumper,
                              default_flow_style=False)
docs: returns the yaml output of the dict.