Use json_object_object_get_ex() rather than json_object_object_get(), which is deprecated in json-c 0.10