send model.toJson() to template