finish model/json converter