handle empty string property keys, return NaN for the same values that parseInt, parseFloat do