replace deprecated component.json