To reduce performance overhead of luaValue we should immplement it a bit different. My idea is to do something simillar to JsonElement https://learn.microsoft.com/en-us/dotnet/api/system.text.json.jsonelement?view=net-8.0