model: add nitunit for model_json