Simplify JSON encoding of "xml attribute" values

Description

Right now they are encoded as an array property, encode as flat prefixing them by "@" instead (makes for easier to read json, closer to expectations of JSON users)

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure