public static string Rev(this Dictionary<string, object> dictionary) { string rev; try { rev = String(dictionary, "_rev"); if (!ADocument.IsRev(rev)) { rev = null; } } catch (Exception) { rev = null; } return rev; }