TS-114: Possibility to get element attributes as array (attributes.asArray)