Format component.json