add helper method from Fuse IDE so we can reuse it across both Fuse IDE and hawtio