Updating to revert to templates; cannot use to_json or sorted_json due to splitting config file into segments