title: How to replace dict key names in python nested dict
body: <p>I'm trying to replace key names in dictionary. But i'm able to do for simple dict not for the complex/nested dict.</p>
  
  <pre><code>{
  "Team": {
      "DataState": "A",
      "GID": "0021500038",
      "TID": "1610612758",
      "PTS": "103",
      "FBPTS": "8",
      "PTSIP": "46",
      "BgLd": "12",
      "TIMREM": "0",
      "TFLS": "7",
      "TeamLine": [{
          "DataState": "A",
          "GID": "0021500038",
          "TID": "1610612758",
          "PER": "1",
          "PTS": "31",
          "FLS": "5"
      }, {
          "DataState": "A",
          "GID": "0021500038",
          "TID": "1610612758",
          "PER": "14",
          "PTS": "0",
          "FLS": "0"
      }]
  }}
  </code></pre>
  
  <p>I want to replce GID with CODE. So how I can do this?</p>