switch data source from XML to JSON