add method toArray()

I know Backbone is moving away from jQuery as a dependency. `this._nodes` is a Backbone Collection, `this._nodes.each` is preferable here.