def __str__(self):
        return "".join([self.package, self.version or ""])
def serialize(self):
        s = []
        for v in self:
            if isinstance(v, BaseConfig):
                v = v.serialize()
            s.append(v)
        return s