Rest utils for Scalatra