fixed issue with publishing the terms in redis w/o quotations