serving json in sinatra