Decoder written in Lua for Heka's Audit-Go plugin