add sanitize method to REST-Controller