def __str__(self):
        return "".join([self.package, self.version or ""])
def serialize(self, value, display=False):
        """Convert value back to string for saving."""
        if value is None:
            return ""
        return str(value)