I need to convert a lua table to KEY=VAL

e.g:

```
   local t1 = {
        t0 = "valt0",
        t1 = "valt1",
        tN = {
            t0key = "t0var",
            t1key = "t1var",
        }
    }

```

to be

```
t0="valt0", t1="valt1", tN_t0key="t0var", tN_t1key="t1var"

```

somebody have suggestions?