Final Cut Pro / Streamdeck / Keywords

I just got a Stream Deck and it's great. I'm tinkering with the KM stuff and trying to get a handle on it. I'm not fantastic at this stuff but it seems like a fun way to dig in.

One thing Im hoping I'll be able to do is to define keywords on selections of video using buttons. But it's vital that the buttons on the Stream Deck actually have the keywords written on them and that they are able to populate themselves depending on the project.

I think this should be possible but I don't know where to begin.

I added some keywords to a test project and then took a look at the code inside the library but I couldn't really make head nor tail of it.

Q fiab
X$versionY$archiverT$topX$objects  !"#$%+,2345<?@ABCU$null”
WNS.keysZNS.objectsV$class¶ÄÄÄÄÄÄa¶eÄÄÄÄ ÄÄÄXmetadata[aoFlagsMaskXduration[displayName\anchoredLaneZanchorPair”
&(*°eÄ °)Ä
ÄXkeywords“-1£./0Ä Ä Ä
ÄUfunnySuseWouttake“6789Z$classnameX$classes\NSMutableSet£8:;UNSSetXNSObject“67=>\NSDictionary¢=;ˇˇˇˇˇˇˇˇ\104960/12800∞≤∂∏∫√
e!#%'-19>IR_cirwÑáêù¢∂ª—
X$versionY$archiverT$topX$objects≠  !"#$%&'U$null”
WNS.keysZNS.objectsV$class•ÄÄÄÄÄ•eÄaÄÄ Ä
Ä Ä [aoFlagsMaskXduration[displayName\anchoredLaneZanchorPairˇˇˇˇˇˇˇˇ\104960/12800Yselection∂˘!,5KO
X$versionY$archiverT$topX$objects  !"#$%+,018;<=>?U$null”
WNS.keysZNS.objectsV$class¶ÄÄÄÄÄÄa¶eÄÄÄÄ ÄÄÄXmetadata[aoFlagsMaskXduration[displayName\anchoredLaneZanchorPair”
&(*°eÄ °)Ä
Ä

I'm hoping perhaps someone could help me.