pass {validating: true} to toJSON when using it for model validation