add data to error when json parsing fails