upgrading joi to version 2.9.0. Closes #17