I can't get bonds working

This was the working yaml for me:

config:
  bonds:
  - lldp: true
    members:
    - bc:24:11:90:02:c6
    - bc:24:11:6e:a6:69
    mode: active-backup
    mtu: 1500
    name: uplink
    roles:
    - cluster
    - instances
    - storage
  time:
    timezone: UTC
  vlans:
  - addresses:
    - dhcp4
    - slaac
    id: 10
    name: homenet
    parent: uplink

I converted it into json like so:

{
  "config": {
    "bonds": [
      {
        "lldp": true,
        "members": [
          "bc:24:11:90:02:c6",
          "bc:24:11:6e:a6:69"
        ],
        "mode": "active-backup",
        "mtu": 1500,
        "name": "uplink",
        "roles": [
          "cluster",
          "instances",
          "storage"
        ]
      }
    ],
    "time": {
      "timezone": "UTC"
    },
    "vlans": [
      {
        "addresses": [
          "dhcp4",
          "slaac"
        ],
        "id": 10,
        "name": "homenet",
        "parent": "uplink"
      }
    ]
  }
}

And attempted to use it to create an image here:

Unfortunately, the network part seems to have been completely ignored, as the resulted installed system just looks for DHCP addresses from the individual interfaces, and not creating the bond or using the vlan. It’s not a big problem, because now I can go in and set it up afterwards, but I’m wondering if there’s a way I could have this working from the beginning.