repair component.json