allow json files
adds data for init tpl