An example of my comment above: `yaml["Terrain"].Nodes.Select(n => new TerrainTypeInfo(n.Value)).ToDictionary(t => t.Type)` should work here.