added support for Backbone.Model for leaf nodes - issue #124