title: Inline string Json to formatted Json with C#
body: <p>I have to send a variables Json to Mailgun but it only accepts the curly braces format when using multi level json files. So,</p>
  
  <p>How can I pass from this:</p>
  
  <p><code>{ "vehicle.type": "car"}</code></p>
  
  <p>To this, with C#</p>
  
  <p><code>{"vehicle": {"type": "car"}}</code></p>
  
  <p>Having into consideration that sometimes it could be up to 3 nested elements. Like <code>element1.element2.element3: value</code></p>