Formats JSON responses to be compatible with Ember.js