Add a function to dump a lua "dictionary".