build: generator: Connect the data structures

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>