pub fn write_json_diff(data: &Vec<DiffStep>) -> Result<Vec<JsonDiff>, Error>