fix typo and references to docs

Removed some extra parantheses Joi.object call, if I'm not mistaken that has been syntax error.