title: Convert regular json to flare.json for d3.js?
body: <p>I have a json like so:</p>
  
  <pre><code>{
  "a": {
      "x": {
          "y": {
              "a": {}, 
              "z": {}, 
              "b": {}
          }
      }, 
      "c": {}, 
      "b": {
          "c": {
              "d": {}
          }
      }, 
      "d": {}, 
       ...
      }
  }
  </code></pre>
  
  <p>Is there a quick way to convert it to flare.json format?</p>
  
  <p>Like so:</p>
  
  <pre><code>{
  "name":"a",
  "children":[
        {
        "name":"x",
        "children":
              {
                "name":"y",
                "children":[{"name":"a", "size":0},{"name":"z","size":0},{"name":"b","size":0}]
  
  ...
  }
  </code></pre>
  
  <p>Thank you.</p>