XML 2 Dictionary converting code