refine form template generator to generate human-friendly form inputs