def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)