Update JSONModel.m

Using code that has existed.