setup class XmlJsonParser with static functions