title: Change key name in nested JSON structure
body: <p>I have a JSON data structure as shown below:</p>
  
  <pre><code>{
      "name": "World",
      "children": [
        { "name": "US",
            "children": [
             { "name": "CA" },
             { "name": "NJ" }
           ]
        },
        { "name": "INDIA",
            "children": [
            { "name": "OR" },
            { "name": "TN" },
            { "name": "AP" }
           ]
        }
   ]
  };
  </code></pre>
  
  <p>I need to change the key names from "name" &amp; "children" to say "key" &amp; "value". Any suggestion on how to do that for each key name in this nested structure?</p>