json loader: fix up compat wrapper
json loader: fix up compat wrapper

Alone, the new json_object_object_get_ex() just returns whether the
key exists. Its value may be NULL.

achadwick/libmypaint,achadwick/libmypaint,achadwick/libmypaint,achadwick/libmypaint