title: loopback REST API filter by nested data
body: <p>I would like to filter from REST API by nested data. For example this object:</p>
  
  <pre><code>[
    {
      "name": "Handmade Soft Fish",
      "tags": "Rubber, Rubber, Salad",
      "categories": [
        {
          "name": "women",
          "id": 2,
          "parent_id": 0,
          "permalink": "/women"
        },
        {
          "name": "kids",
          "id": 3,
          "parent_id": 0,
          "permalink": "/kids"
        }
      ]
    },
    {
      "name": "Tasty Rubber Soap",
      "tags": "Granite, Granite, Chair",
      "categories": [
        {
          "name": "kids",
          "id": 3,
          "parent_id": 0,
          "permalink": "/kids"
        }
      ]
    }
  ]
  </code></pre>
  
  <p>is comming by GET <code>/api/products?filter[include]=categories</code>
  and i would like to get only products which has category name "women". How do this?</p>