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