Adding the ability to build a local model from a JSON local file

similarly, this error message is going to never show up...