def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def serialize(self, value, display=False):
        """Convert value back to string for saving."""
        if value is None:
            return ""
        return str(value)