lua backend: basic dict implementation.