def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def memoized(*args):
        try:
            return stored_results[args]
        except KeyError:
            result = stored_results[args] = fn(*args)
            return result