def output(data, **kwargs):  # pylint: disable=unused-argument
    '''
    Rather basic....
    '''
    if not isinstance(data, six.string_types):
        data = six.text_type(data)
    return salt.utils.stringutils.to_unicode(data)
Rather basic....