include the keymap key in the encoded key to group foreign keys by subtype
separate .keyList() function to only get an array of the keys
0.1.0