Wrong answer format when returning node affiliations or node subscriptions to a node owner

Description

Current answer:

<iq type="result" id="nodes1" from="pubsub.xxxx" to="rem@xxxx/Spark">
<pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
<affiliations node="/newroom_1"/>
<affiliation jid="keith@xxxx" affiliation="owner"/>
<affiliation jid="rem@xxxx" affiliation="owner"/>
</pubsub>
</iq>

Correct answer:

<iq type="result" id="nodes1" from="pubsub.xxxx" to="rem@xxxx/Spark">
<pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
<affiliations node="/newroom_1">
<affiliation jid="keith@xxxx" affiliation="owner"/>
<affiliation jid="rem@xxxx" affiliation="owner"/>
<affiliations/>
</pubsub>
</iq>

Environment

None
Fixed

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak