Compatibility with LogStash::Event 1.2+