Fix default value for non-multi selects

Our convention is for `''` to mean the default value so it should either be converted
to `null` or not included in the result array (for names ending in `[]`)