Get XML file back into expected format for tests.