[MOD] XQuery, fn:trace/prof:dump: allow serialization of attributes/nsp