auto-generate form from mongoose schema