fix Issue 12332 - std.json API broken without notice

https://d.puremagic.com/issues/show_bug.cgi?id=12332