You can do the `HostConfigPacker` as an inline anonymous struct here to save you declaring the type