Updated to remove white space string replace in JSON message body