Add a warn event for json parse errors