the current codec implementation leverages the lines codec for doing the line parsing. The problem is that the line codec decode method is called which produces and event and then a new event is created using the json deserialization of the previous event message field.
This means that for each input line, and extra and superfluous event is created and an extra event field lookup is done.
Since the line parsing logic is so simple, we just should directly use the buffered tokenizer here and not rely on the line codec.