title: Trying to extract json data, geting expected string or buffer
body: <p>So I'm experimenting with json abit and this is the code I've got this far,</p>
  
  <pre><code>import json
  from utorrent.client import UTorrentClient
  
  uTorrent = UTorrentClient("xxxx", "xxxx", "xxxx")
  
  data = uTorrent.list()
  
  torrents = json.loads(data)["torrents"]
  
  for torrent in torrents:
      print item[0] # hash
      print item[2] # name
      print item[21] # status
      print item[26] # folder
  </code></pre>
  
  <p>The typical json output can be viewed <a href="http://www.utorrent.com/community/developers/webapi#devs6" rel="nofollow">here</a>. But im getting an "expected string or buffer" error. Anyone with any pointers?</p>
  
  <p>The point with above code is to print out each hash/name.. for each torrent found in the list provided by uTorrent</p>