Per Olesen Thank you for investigating this.
From what I can tell, the same problem occurs with other variables, including requestHeaderMap, requestParameterMap, responseHeaderMap in addition to attributeMap.