ppp: use the new json_get_vars function