fix Issue 12332 - std.json API broken without notice

Signed-off-by: Martin Krejcirik <mk@krej.cz>