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