fn normalize_json_trailing_commas(input: &str) -> StringExpand description
Removes trailing commas that appear immediately before } or ] in JSON text.
This allows the embedded backup JSON file to remain slightly permissive while
still being parsed by serde_json.