Lua Encoder for InfluxDB