add log message support to jsonClient