REST API example to work with Ember