Update API to work with Ember Data