implementing getLuaTable for all entities