Packing SAML Response attribute values in an array when there is more than one xml node with the same key

Packing SAML Response attribute values in an array when there is more than one xml node with the same key.

This is useful, for instance, for fetching multiple roles assigned to a user, which currently is not supported (the last role defined will be the one retrieved because the key to value assignment on the attributes map keeps replacing the value).