fix Issue 12332 - std.json API broken without notice