pub fn compare_jsons( a: &str, b: &str, sort_arrays: bool, ignore_keys: &[Regex] ) -> Result<Mismatch, Error>