Describe the bug
part of #2273
the current loader supports loading a config dictionary from model.pt (and assumes model.pt contains the dict).
this should be enhanced to support loading from json config, in case that model.pt doesn't contain the full model specification.