LOGSTASH-1680 - Adding codec support while fixing bug in lumberjack output