adds new model and turn json to model objects