Refactored errors - implemented a __dict__ method for JSON serialization
Fixed typo in DataValidationError.__dict__
Return something more meaningful for each error