def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def deserialize(self, value):
        value = decode(value)
        validators.validate_choice(value.lower(), log.COLORS)
        return value.lower()