Fixed Backbone.sync to use attributes