'Force an attribute value into a string representation.
A multi-valued attribute will be converted into a
space-separated stirng.'

def _attr_value_as_string(self, value, default=None):

    value = self.get(value, default)
    if (isinstance(value, list) or isinstance(value, tuple)):
        value = '    '.join(value)
    return value
