add keep_input to template.json