Converted LuaTableSerializer to scala. Iterating over java map was kind of tricky until I imported JavaConversions.