Gets the first form and returns a JSON object of all input fields using name attributes as properties.

If the field was left blank and it has a data-default-value attribute, the default value is used insetad.  Further verification is done to see if the default value is numeric or not.