lowercase/uppercase converters. fixes Graylog2/graylog2-server#458