You can do this with Groovy (assuming xml
is a String containing your xml)
def map = new XmlParser().parseText( xml )
.someelement
.find { it.@id == '1234' }
.property
.collectEntries { [ it.@key, it.@value ] }
assert map == [ hello:'world', name:'a name', status:'new' ]
Never used rest-assured, so I can't be much help in that direction though :-(