Add component.json to template