title: How to get JSON.loads() output in dictionary type but not string type using PYTHON
body: <p>When I make use of <strong>JSON.dump()</strong> I am getting below JSON format </p>
  
  <pre><code>Dumps data"b'{\"AutomaticReadabilityIndex\":2.7999999999999994,\"AgeLevel\":[\" 11 to 12\"],\"Statement\":[\"Nice. Your grade is about six\"],\"SpacheScore\":1.877,\"GunningFogScore\":9.099999999999998,\"SmogIndex\":5.999999999999999}'"
  </code></pre>
  
  <p>When I make use of <strong>JSON.loads()</strong> I am getting below JSON format with bytes</p>
  
  <pre><code>loads data b'{"AutomaticReadabilityIndex":2.7999999999999994,"AgeLevel":[" 11 to 12"],"Statement":["Nice. Your grade is about six"],"SpacheScore":1.877,"GunningFogScore":9.099999999999998,"SmogIndex":5.999999999999999}'
  </code></pre>
  
  <p>My question is when I am using loads format the output has to be in <strong>dictionary</strong> type but I don't know why I am getting <strong>string</strong> type as my output. How to convert this JSON string into dictionary type.</p>
  
  <pre><code>Loads Data Type : type of loads &lt;class 'str'&gt;
  </code></pre>
  
  <p>When I trying to parse string type JSON directly I am getting below error</p>
  
  <pre><code>ERROR : Traceback (most recent call last):
  File "Db.py", line 84, in &lt;module&gt;
  print(par['GunningFogScore'])
  TypeError: string indices must be integers
  </code></pre>