Ensure that forms with nested parameters are serialized properly

Appears that this bug has been fixed with the numerous updates on your branch. At least now there's tests in case of regression.