fn scalar_str(v: &Value) -> Option<String>
Stringifies a scalar config value the way the legacy parser did (String as-is, Number/Bool via to_string). None for null/array/object.