def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def serialize(self, value, display=False):
        if value is None:
            return ""
        return encode(value)