pub fn strip_trailing_commas(input: &str) -> String
input with each comma that ends an object or array blanked out, leaving commas inside strings alone.
input