title: Lodash: how do I use filter when I have nested Object?
body: <p>Consider this example. I am using <a href="http://lodash.com/docs" rel="noreferrer">Lodash</a></p>
  
  <pre><code> 'data': [
          {
              'category': {
                  'uri': '/categories/0b092e7c-4d2c-4eba-8c4e-80937c9e483d',
                  'parent': 'Food',
                  'name': 'Costco'
              },
              'amount': '15.0',
              'debit': true
          },
          {
              'category': {
                  'uri': '/categories/d6c10cd2-e285-4829-ad8d-c1dc1fdeea2e',
                  'parent': 'Food',
                  'name': 'India Bazaar'
              },
              'amount': '10.0',
              'debit': true
          },
          {
              'category': {
                  'uri': '/categories/d6c10cd2-e285-4829-ad8d-c1dc1fdeea2e',
                  'parent': 'Food',
                  'name': 'Sprouts'
              },
              'amount': '11.1',
              'debit': true
          },
  </code></pre>
  
  <p>When I do</p>
  
  <pre><code>_.filter(summary.data, {'debit': true})
  </code></pre>
  
  <p>I get all the objects back.</p>
  
  <p><strong>what I want?</strong>   </p>
  
  <p>I want all the objects where <code>category.parent == 'Food'</code>, how can I do that?</p>
  
  <p>I tried</p>
  
  <pre><code>_.filter(summary.data, {'category.parent': 'Food'})
  </code></pre>
  
  <p>and got </p>
  
  <pre><code>[]
  </code></pre>