trying out sinatra app with json