'Convert ``value`` from the record format to the export format.'

def convert_to_export(self, value, record):

    if (not value):
        return ''
    return (value if record._context.get('export_raw_data') else ustr(value))
