Fix json file issues.