Add generation of projects list in XML format.
Added test for #to_list