Added initial attempt at converting XML v2 to v1