netifd: use the new json_get_vars function in the dhcp helper script