Fixes component.json generator