Update xmlToJson to make final lists