fix component.json edit