title: NSDictionary to NSDictionary formatted string and back
body: <p>I am trying to convert two formats of NSDictionary formatted strings to and from each other. </p>
  
  <p>Both strings:</p>
  
  <pre><code>&lt;key&gt;info&lt;/key&gt;&lt;dict&gt;&lt;key&gt;title&lt;/key&gt;&lt;string&gt;The Title&lt;/string&gt;&lt;/dict&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>info = { title = "The Title";}
  </code></pre>
  
  <p>convert to an NSDictionary if I use <code>initWithData</code> or <code>initWithContentsofFile</code>. When I use <code>[NSDictionary description]</code> to get a string from a dictionary, I get the second string.
  So it is a one way conversion if I input the first string. Is there an easy way to convert the second string back to the first and also use them together in a file like below and convert that to NSDictionary? Thanks. </p>
  
  <pre><code>&lt;dict&gt;
  dict1 contents...
  &lt;/dict&gt;
  info ={dict2 contents...}
  </code></pre>