RESTful JSON API for clients like Ember.js