Added json handling for model. Ongoing... making sb_model look like json model. Transition to json complete.