refactor, cleanup.

this generates a 'new' format of a model_config.json; still need to
update the python script to use it properly and keep track of plots =>
ports