fix deprecated json imports