public Hash ToHash() { var convertedHash = new Hash(); Each(pair => convertedHash[pair.Key] = GetHeaderValue(pair.Value)); return convertedHash; }