title: Python Edit/Rename Key Names in .json
body: <p>Is there a way to change the Key name? 
  I need to change the name <code>"Class123"</code> like it is in the Example. I can change the Value but I don't know how to change the key name.</p>
  
  <p>Example .json :</p>
  
  <pre><code>{
      "Class123": "classvalue", 
      "name1": {
          "name2": {
              "name3": {
                  "Y": 158.8, 
                  "X": 201.46
              }, 
              "name4": {
                  "Y": 159.68, 
                  "X": 200.32
              }
          }
      }
  }
  </code></pre>
  
  <p>Starting like this:</p>
  
  <pre><code>with open('my.json') as json1:
      data = json.load(json1)
      for item in data:
  </code></pre>