Fix path for component.json.