Require JSON and changed to exports.assert