catch native JSON parse error