pub fn fmt_num(value: &Value) -> String
Format a JSON number the way jq interpolates it: integers without a decimal point, floats in shortest round-trip form.