title: Backbone.js Unable to parse response from collectio.toJSON()
body: <p>I am learning Backbone and it would be great if someone can help me with this issue. After I do a fetch on my collection, in success callback I get the parsed data using <code>collection.toJSON()</code>, this actually returns an object and I am unable to get anything out of this object. This object actually has data that I need.</p>
  
  <p><img src="https://i.stack.imgur.com/wsRhq.png" alt="Please see the object contents in this screenshot"></p>
  
  <p>My question is how do I access rows property in my object. Here is my code for your reference</p>
  
  <pre><code>  var testCollection = Backbone.Collection.extend({
      model:myModel,
      url: '/myApiEndPoint',
      data: '',
      initialize: function(models, options) {
          this.data = models.data;
      },
      fetch: function(options) {
          var ajaxConfig = {
              url: this.url,
              data: this.data,
              type: 'POST',
              dataType: 'text',
              contentType: 'text/xml',
              parse: true
          };
          options = _.extend({}, ajaxConfig, options);
  
          return Backbone.Collection.prototype.fetch.call(this, options);
      },
      parse: function(xmlResponse) {
              // I have some parsing logic to extract uid and rows from my xmlResponse
              return {
                uid: uid,
                rows: rows
              };
        },
    });
  
  var collObj  = new testCollection({data: xmlQuery1});
  collObj.fetch({
    success: function(collection){
      // This code block will be triggered only after receiving the data.
      console.log(collection.toJSON()); 
    }
  });
  </code></pre>