looping over, xml, json