Handy helpers for writing RESTful APIs in Sinatra.