[jmdb] Adding rename of remote shell and tidy xml