[Backport 1.x] Make make_model_config_json
function more concise
#580
Annotations
6 warnings
make_model_config_json
function more concise
#580