Added model json creation