HH-34951 fix UnicodeEncodeError in graylog bulk handler