Added Lua stringify function to call Lua Writer functions