JSON and YAML don't write integer keys. This is an issue when autogenerating configs for prognostic runs where the script fills in the rank models in the resevoir corrector field with integer keys but json.dump saves the keys as strings. This PR allows these keys to be string representations of integers, which are converted to integers after the config is loaded.
JSON and YAML don't write integer keys. This is an issue when autogenerating configs for prognostic runs where the script fills in the rank models in the resevoir corrector field with integer keys but
json.dump
saves the keys as strings. This PR allows these keys to be string representations of integers, which are converted to integers after the config is loaded.