This might not actually work as the first param in `check` doesn't take an object, it takes a string. It might need to change to:

`validator.check(null, {'code': 400, 'msg': 'Need a annotation'}).isObject(data);`

But please validate this with a test