openwrt: add more ubus glue code to avoid races