Corrected an error where a JSon Serialize exception would be thrown because the incomming msg wasn't JSON formatted.