refactoring form flow implementation
fix: parameter of processValidation should be Object rather than generic type T