Format json config file