converted all occurrences of E4X to JSON