Use an empty string rather than null for the exception property, avoiding a "null" in the output.