Joi / Restify Middlware