add delete_existing support to import_json