title: Python Can't access dictionary
body: <p>Getting <code>TypeError: string indices must be integers</code> when trying to access a dictionary in python. I've tried using <code>json.loads(r2)</code> thos produces <code>"TypeError: the JSON object must be str, bytes or bytearray, not dict"</code></p>
  
  <p>Not even sure if Im on the right track here, all I need to do is get the JSON which appears to be in one long string into something like <code>x['SomeKey']</code> and the value at those keys using <code>iteritems()</code> or similar?</p>
  
  <pre><code>r = requests.get(url, headers=headers)
  r2 = r.json()
  seq = json.dumps(r2)
  print(seq['remotecontrol_id'])
  </code></pre>