Also, currently EmberFire doesn't use prototype extension, so can you modify this to:

```
json[key] = Ember.A(record.get(key)).mapBy('id');
```