Lua table <=> Json in pure Lua based on Lua string only