fix #277 aria.core.JsonValidator.normalize throws an object

aria.core.JsonValidator.nomalize when failing throws an object, now it throws an instance of Error.

Close #583