pub fn form_to_json(form: HashMap<String, String>) -> Value
Turn a submitted HTML form (all string values) into a typed JSON object: "true"/"false" → bool, integer/float text → number, everything else stays a string.
"true"/"false"