def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def items(self):
        for key, value in self._collection.items():
            yield key, self._to_python(value)