POC: [NX-496] Component metadata api

https://issues.sonatype.org/browse/NX-496
Same for version as for Key.