pub fn to_number(value: &Value) -> Option<f64>
Do our best to convert something into a number.
Should be pretty much equivalent to calling Number(value) in JS, returning None where that would return NaN.