Fix json parse error of upgrade component.