Refactors for Joi validation on request