def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def serialize(self, value, display=False):
        if value is None:
            return ""
        return encode(value)