title: Add "value" information to flare JSON data using Python
body: <p>I have some data in JSON D3 format (specifically, flare.json). It looks like this, </p>
  
  <pre><code>json_data = {
     "name":"root",
     "children":[
        {
           "name":"435",
           "children":[
              {
                 "name":"188",
                 "children":[
                    {
                       "name":"198"
                    }
                 ]
              },
              {
                 "name":"436",
                 "children":[
                    {
                       "name":"86"
                    },
                    {
                       "name":"115"
                    },
                    {
                       "name":"437"
                    }
                 ]
              }
  </code></pre>
  
  <p>(etc.). The data has n levels. I have another nested list with "value" fields for <em>some</em>, but not all of the json_data "name" fields. For example, </p>
  
  <pre><code>[['198',50],['86',12],[...]]
  </code></pre>
  
  <p>I'd like to add corresponding "value" data to the json_data where applicable. So, the end result would look like this, </p>
  
  <pre><code>json_data_updates = {
     "name":"root",
     "children":[
        {
           "name":"435",
           "children":[
              {
                 "name":"188",
                 "children":[
                    {
                       "name":"198", "value":50
                    }
                 ]
              },
              {
                 "name":"436",
                 "children":[
                    {
                       "name":"86","value":12
                    },
                    {
                       "name":"115"
                    },
                    {
                       "name":"437"
                    }
                 ]
              }
  </code></pre>
  
  <p>I can use <a href="https://stackoverflow.com/questions/14962485/finding-a-key-recursively-in-a-dictionary">this</a> to get the all of the name values in the json_data as a list </p>
  
  <pre><code>[root, 435, 188, 198, ...]
  </code></pre>
  
  <p>but am unsure how to then update the json_data to be in my desired format.  </p>