fix import_template from json