function to extract hardware connections from pedalboard data structure