public static HashEntry WithName(HashEntry[] hash, string name)
 {
     return hash.Single(h => h.Name == name);
 }