load model from JSON and from the remote