DTO-ize the version stuff for JMX
DTO-ize the container stuff for JMX & a little bit of refactoring to share code