use json gem instead of sinatra/contrib