converted getSurvey XML to JSON