t/json-validate: catch only json exceptions
t/json-validate: catch only json exceptions

the json namespace should really only be throwing json errors. this tool
is primarily used for unit testing, so it's better it crashes
catastrophically on an unhandled exception.

gim/libgim,gim/libgim,gim/libgim