XML graph writer now handles Collections, Iterables, and Arrays for prop...

XML graph writer now handles Collections, Iterables, and Arrays for values in writeData() method.
Iterable and collection can be collapsed into one.