Add cleaning function to zim importer