Or they could have just made
{[myObject]: myValue}
"just work" as opposed to doing this crap: {"[object Object]": myValue}
Lua tables are really simple and let you use references as keys.