Update the whoami operation to make compatible with the JMX facade.