refactored command-http-service to be able to support command messages
other than XML - need to support JSON, which is the preferred message
format because it is more efficient, light weight, and has better
support for client side JavaScript