fix codelist type for Inpire template json.