public static string To(this Dictionary<string, object> dictionary) { string to; try { to = String(dictionary, "_to"); if (!ADocument.IsID(to)) { to = null; } } catch (Exception) { to = null; } return to; }