def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode