ember-tree implementation