load json config file to struct,  create it if not exist