def before_import(self, dataset, dry_run, file_name=None, user=None):
    if dataset.headers:
        dataset.headers = [str(header).lower().strip() for header in dataset.headers]
    if ('id' not in dataset.headers):
        dataset.headers.append('id')
def before_import(self, dataset, dry_run, file_name=None, user=None):
    if dataset.headers:
        dataset.headers = [str(header).lower().strip() for header in dataset.headers]
    if ('id' not in dataset.headers):
        dataset.headers.append('id')