title: splitting a braces grouped string in python
body: <p>Appreciate help in a one-liner idiom to do the following efficiently.  </p>
  
  <p>I have a string with groups separated by braces as below:  </p>
  
  <pre><code>{1:xxxx}{2:xxxx}{3:{10:xxxx}}{4:xxxx\r\n:xxxx}....  
  </code></pre>
  
  <p>How do I convert this into a dictionary format?</p>
  
  <pre><code>dict={1:'xxx',2:'xxxx',3:'{10:xxxx}'},4:'xxxx\r\n:xxxx'}  
  </code></pre>