Give more informative message after json error