A simple Rest/JSON API on Sinatra