fix(security): redact built-in structured JSON parse errors (#2418)