Encode Lua and Roblox data types
Encapsulate property output in a local function
Refactor the recuseDir function