Adding JSON routes to EntriesController. These may not work yet since I am in Rails 4.