title: Python / json.load gives exception
body: <p>I have the following line:</p>
  
  <pre><code>BL: {version: 2, revision: 1}
  </code></pre>
  
  <p>I want to parse it, so that I will get in one variable <code>BL</code>, and on the other, I will get </p>
  
  <pre><code>[[version, revision], [2,1]]
  </code></pre>
  
  <p>I have the following code:</p>
  
  <pre><code>for line in file:
          print line.split(':',1)[0]; gives me the first word (BL)
          print line.split(': ',1)[1]
          data = json.loads(json.dumps(line.split(': ',1)[1]));
  </code></pre>
  
  <p>The problem is that data is not contained the data as variable, so when I do <code>data[0]</code>, I get the char: <code>{</code></p>
  
  <p>What the correct way to do that?</p>