parse XML and respond with simplified JSON