Fixed Json Bug for some plans