Declare, validate, and transform endpoint parameters in Sinatra, similar to ActiveModel or DataMapper.