Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.