fix component.json to work with component