def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def __init__(self, root_path: str, defaults: t.Optional[dict] = None) -> None:
        dict.__init__(self, defaults or {})
        self.root_path = root_path