Simple REST/JSON API using sinatra and an Ember client