pub fn format_arr(str: &str, values: &[Val]) -> Result<String>