I know it's not what you changed, but is document["descMetadata__title_ssm"] outputting correctly? I had started on this too and had to change this to document["desc_metadata__title_ssm"] in both alt and title for it to display.