save and restore fields order from json ontologies"