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

This reverts commit 30506a2f9f9943df9ffa54877cd422865b4549f8.