Fixed stream stanza attribute separation

If stream element had multiple attributes they were not separated.
As a result XML parsing was failing.