Added the ability to send JSON encoded messages via the command line