minor clean up in JsonModelLoader