using python to parse colon (:) delimited string to an object
<p>i have a string which is a return value of REST API (<a href="http://requesttracker.wikia.com/wiki/REST" rel="nofollow">http://requesttracker.wikia.com/wiki/REST</a>) and is using colon seperated key/value pairs. </p>

<pre><code>id: 123414
name: Peter
message: bla bla
  bla bla
</code></pre>

<p>How can i parse this string to an object? is there an existing python parser that i can use??</p>

<p>Here's the string that i want to parse:</p>

<pre><code>'RT/3.8.8 200 Ok\n\nid: ticket/46863\nQueue: customer-test\nOwner: Nobody\nCreator: young.park\nSubject: testing\nStatus: new\nPriority: 0\nInitialPriority: 0\nFinalPriority: 0\nRequestors: superuser@meme.com\nCc:\nAdminCc:\nCreated: Mon Apr 25 15:50:27 2011\nStarts: Not set\nStarted: Not set\nDue: Not set\nResolved: Not set\nTold: Not set\nLastUpdated: Mon Apr 25 15:50:28 2011\nTimeEstimated: 0\nTimeWorked: 0\nTimeLeft: 0\nCF.{Severity}: \n\n'
</code></pre>
