Changed xml stream into comma separated data