title: Receiving "TypeError: the JSON object must be str, bytes or bytearray, not dict"
body: <p>I have a json output from Tweepy, which I'm now trying to parse through. For instance, some of the output are trending hashtags for a particular area. Since it is a large output, I'm trying to determine how to efficiently parse through all of the hashtags. There is other information in the json output such as <code>userid</code>, <code>countrycode</code>, etc... But I'm only interested in the hashtags which are listed as <code>name: '#gamenight</code> for instance. </p>
  
  <pre><code># using Tweepy
  
  api.trends_place(2295420)
  
  import json 
  
  # Here is a portion of the Tweepy output I received
  trends = [{'trends': [{'name': '#RCBvKKR', 'url': 'http://twitter.com/search?q=%23RCBvKKR', 'promoted_content': None, 'query': '%23RCBvKKR', 'tweet_volume': 101508}, {'name': 'created_at': '2019-04-06T00:07:14Z', 'locations': [{'name': 'Bangalore', 'woeid': 2295420}]}]
  
  hashtags = json.dumps(trends)
  
  # Am trying to end up with a way of just extracting 'name' which I believe is how the hashtags are captured 
  
  print(hashtags['name'])
  </code></pre>