title: Python filter Attributes of Interest out of JSON and safe in a new dictionar
body: <p>I have a big json with 25 items, each item has many attributes like:State, price, description,...
  I want to create a new dic with all 25 items but only the attributes i am interested in
  my solution works but i would have to write too much manual code:</p>
  <pre><code>small_dict = {}
  
  for advert_pos, advert in enumerate(data['props']['pageProps']['searchResult']['advertSummaryList']['advertSummary'],0):
      for _, attr in enumerate(advert['attributes']['attribute']):
          if attr['name'] in 'HEADING':
              small_dict[advert_pos] = {'HEADING': attr['values'], 'LOCATION': attr['values']} #here i need to list all attributes of interest
  
  # here i need another block for every aot
  for advert_pos, advert in enumerate(data['props']['pageProps']['searchResult']['advertSummaryList']['advertSummary'],0):
      for _, attr in enumerate(advert['attributes']['attribute']):
          if attr['name'] == 'LOCATION':
              small_dict[advert_pos]['LOCATION'] = attr['values']
  </code></pre>