'Return a dict representation suitable for persisting.'

def as_dict(self):

    d = super(InputConfig, self).as_dict()
    if (not self._props[REPLACE_ON_CHANGE]):
        del d[REPLACE_ON_CHANGE]
    if (self._value is not _no_value):
        d[VALUE] = self._value
    return d
