libubox: properly handle "null" values in blobmsg_add_json_element()