title: Nested Collections with MsgPack
body: <p>I have following generic dictionary inside class I want to pack/unpack with MsgPack:</p>
  
  <p><code>public Dictionary&lt;string, Object&gt; values { get; set; }</code></p>
  
  <p>Packing and unpacking works staight out of the box in common cases, but if a new dictionary 
  <code>new Dictionary&lt;string, Object&gt;</code> to values dictionary, like this:</p>
  
  <p><code>values.add("nested", nestedValues);</code></p>
  
  <p>After unpacking nestedValues has a type of <code>MsgPackObjectDictionary</code> which I'm unable to convert back to .NET Dictionary. So how to handle nested Collections with MsgPack?</p>
  
  <p>EDIT:</p>
  
  <p>More defined data classes seems to be one way to work around this problem:
  <a href="https://stackoverflow.com/questions/14716979/deserialize-a-type-containing-a-dictionary-property-using-servicestack-jsonseria">Deserialize a type containing a Dictionary property using ServiceStack JsonSerializer</a></p>