Tweaking stringify to also work with Lua function objects.