let sinatra do the JSON parsing