Add correct version of installed dep to component.json

Currently, component install emitter@0.0.4 adds the dependency "component/emitter@0.0.4": "*" to component.json.

This patch ensures that the dependency added is ""component/emitter"": "0.0.4"