Add toXml(collection, [*elementNames]). Still need to write tests. Closes #28