Data has to be encoded, since the logger is calling an json_encode(). Wi...

...thout encoding it will crash with german umlauts