consistent json parse error logging