Deleted component.json
Added same function