How to save a collection of objects as XML, JSON, or CSV﻿. Source: http://www.codeproject.com/Tips/724254/Save-a-Collection-of-Objects-as-XML-and-or-JSON-an