hoodiehq/backbone-hoodie — pull request #7 by gr2m (2014-03-19 15:10:14+00:00)
Title: use .toJSON() to get attributes

instead of
```js
attributes = modelOrCollection.attributes;
```
we should do
```js
attributes = modelOrCollection.toJSON();
```

I often times hook into `toJSON` methods of models or collections to add properties that I want to be persisted but no overwritten. For example in relations, when I want to store `parentId` properties