Auto choose content_type for your sinatra application's respond