adjusted code to pull from json datasource and removed code for XML
translation.