Added some typing. Extracted methods from validateAndProcessFields in FormDataService to make it more readable and testable.
Added *a* test for converting number fields to bigDecimals.