title: Serialize c# object using MsgPack instead of Json using MsgPack Cli
body: <p>I'm trying to acheive a kind of JSON serialization using MsgPack in c#
  I'm using MsggPack CLI you can find on
  <a href="https://github.com/msgpack/msgpack-cli" rel="nofollow noreferrer">https://github.com/msgpack/msgpack-cli</a></p>
  
  <p>According msgpack.org Documentation, serialize the model</p>
  
  <pre><code>{"model":"message"}
  </code></pre>
  
  <p>give in hexa</p>
  
  <pre><code>81 a5 6d 6f 64 65 6c a7 6d 65 73 73 61 67 65
  </code></pre>
  
  <p>but when trying to do the same in c# (certainly with a naive approach)</p>
  
  <pre><code>using MsgPack.Serialization;
  
  public class Test
  {
      public string model { get; set; }
  }       
  
  public class Program
  {
      static void Main(string[] args)
      {
          Test a = new Test();
          a.model = "message";
  
          var requestSerializer = MessagePackSerializer.Get(a.GetType());
          MemoryStream stream = new MemoryStream();
          requestSerializer.Pack(stream, a);
          byte[] res = stream.ToArray();
      }
  }
  </code></pre>
  
  <p>I obtain</p>
  
  <pre><code>91 a7 6d 65 73 73 61 67 65
  </code></pre>
  
  <p>where the 'model' name is skipped...</p>
  
  <p>How to fix it ???</p>