Fixing typo in JSON error type name.