Module:Sandbox/Nyoron/anyToString/doc

mw.dumpObject is better.