changing to_xml to use REXML for collections
changing to_xml to use REXML for collections

merbjedi/dm-more-hacked,cachafla/dm-more,mattetti/dm-more,merbjedi/dm-more-hacked,mattetti/dm-more,bterlson/dm-more,bterlson/dm-more