Format `component.json`