Add component.json definition & revise example