Added JSON formatted (raw) message support