code for sinatra_json challenge