Added workaround for json_object_object_get_ex.