Remove dead code from JMSClient and add it json format to replies made
by API calls