title: How to populate ember-cli-jstree with model data
body: <p>I am trying to use this addon to create a tree from my data. I can successfully create a tree from the examples provided in the <a href="https://github.com/ritesh83/ember-cli-jstree/tree/7521d2b88625597b1d8339482981918d1e6c6e0a/tests/dummy" rel="nofollow">test/dummy</a> in github, but when I try to use data from a model it seems to be expecting json data and not the ember model.</p>
  
  <pre><code>// models/user.js 
  import DS from 'ember-data';
  
  export default DS.Model.extend({
    name: DS.attr('string'),
    children: DS.hasMany('user', {inverse: 'parent', async: true}),
    parent: DS.belongsTo('user', {inverse: 'children', async: true})
  });
  
  // routes/users.js
  import Ember from 'ember';
  
  export default Ember.Route.extend({
    model() {
      return this.store.findAll('user');
    }
  });
  
  // templates/users.hbs    
  &lt;h2&gt;Users&lt;/h2&gt;
  &lt;div class="sample-tree"&gt;
     {{ember-jstree
        data= model
     }}
  &lt;/div&gt;
  </code></pre>
  
  <p>I have searched for a working example but so far have not found one.</p>