title: Deserialize Yaml into c# collection
body: <p>I have the following yaml structure:</p>
  
  <pre><code>TestPaySignService:
      Test:
          TestString:
              settings-key: TestStringValue
              types:
                  - type1
                  - type2
  
          TestString2:
              settings-key: TestStringValue2
              types:
                  - type1
                  - type2
  </code></pre>
  
  <p>I want to parse this yaml and store only "settings-key" and "types" together in c# collection, for example List, like the following:  </p>
  
  <pre><code>[
    {
       name: TestStringValue,
       types: ["type1", "type2"]
    },
    {
       name: TestStringValue2,
       types: ["type1", "type2"]
    }
  ]
  </code></pre>
  
  <p>I've followed the follwin question and tried the accepted answer's code, but as it seems it's obsolete for now: <a href="https://stackoverflow.com/questions/30894438/deserialize-a-yaml-table-of-data">Deserialize a YAML &quot;Table&quot; of data</a></p>
  
  <p>P.S. my yaml schema changes every time, but "settings-key" and "types" are always contained, so I want to create something like "dynamic parser"</p>