Update UserDefinedForm.php

Allows numbers to be present in json values (not just as strings) so things like validation can accept numeric maxlengths and min values.