Using a dictionary to represent Lua tables, but this is actually pretty insane.