Fix de-serialization of numeric fields.