make sure that the log message is converted to a JSON object before passing into bunyanToGelf