Use json file to define versions to be bundled.

Also improve logging support to print each component's name.