Before you mark this question as duplicate of this please read the whole thing:
I have a table in Lua which is a table of tables something like the below