title: LoDash - DeepFlatten array of objects
body: <p>I have the following collection. Each object may have a <code>children</code> array of objects, which may have a <code>children</code> array of objects and so on...</p>
  
  <pre><code>[
    {
      "name": "John",
      "age": 24,
      "children": [
        {
          "name": "Jack",
          "age": 53,
          "children": [
            {
              "name": "Jenny",
              "age": 88
            }
          ]
        }
      ]
    },
    {
      "name": "George",
      "age": 45,
      "children": [
        {
          "name": "Chris",
          "age": 38,
          "children": [
            {
              "name": "Nick",
              "age": 35,
              "children": [
                {
                  "name": "Maria",
                  "age": 63
                }
              ]
            }
          ]
        }
      ]
    }
  ]
  </code></pre>
  
  <p>I want to recursively flatten the collection in order to have the following result:</p>
  
  <pre><code>[
    {
      "name": "John",
      "age": 24
    },
    {
      "name": "Jack",
      "age": 53
    },
    {
      "name": "Jenny",
      "age": 88
    },
    {
      "name": "George",
      "age": 45
    },
    {
      "name": "Chris",
      "age": 38
    },
    {
      "name": "Nick",
      "age": 35
    },
    {
      "name": "Maria",
      "age": 63
    }
  ]
  </code></pre>
  
  <p>How can i do this in <code>lodash.js?</code></p>