emberjs/data — pull request #1195 by sly7-7 (2013-09-03 21:39:49+00:00)
Title: add failing test for DS.Model#toJSON()

Since the containerization of the transform, calling `toJSON` on a model will throw

```
TypeError: Cannot call method 'lookup' of undefined
```
I don't know if this method is intented to be kept or removed. If it should be kept, I imagine that the JSON serializer should be looked up from the container, or injected into each DS.Model