Okay - the issue is that the nodes also need a key value:
const checkbox1 = { label:"checkbox 1", key: 'checkbox_1' }; const checkbox2 = { label:"checkbox 2", key: 'checkbox_2' };