Dict containing keys with lists of lists
<p>I have a dict structured as below:</p>

<pre><code>{ 'records':[['15','2013-04-02','Mexico','blah','bleh',1,2],['25','2013-04-02','Italy','meh','heh',3,4]], 'attributes':['id','date','location','descr1','descr2','total1','total2'] }
</code></pre>

<p>It was created from json using json.load.</p>

<p>How can I iterate through the records key as to make ['records'][0] a key in a new dict and the remainder of each list in ['records'] be the value for that key.</p>

<p>Something like this is what I am thinking, may not even be possible, I am new to Python:</p>

<pre><code>{ '15':['2013-04-02','Mexico','blah','bleh',1,2], '25':['2013-04-02','Italy','meh','heh',3,4] }
</code></pre>

<p>Could someone point me in the right direction to going about iterating through the original dict to create the new one?</p>
