Build item.attributes Object from Items Data Frame
Source:R/user_validation_helpers_GENIE.R
build_item_attributes_from_items.RdReverse engineers the item.attributes object structure required by AIGENIE
from a validated items data frame. This allows GENIE to work with user-provided
items by reconstructing the expected attribute structure.