Updated bookshelf and knex accordingly.
Implemented isValidation check on toJSON.