A
for speaker in report['speakers']:
temp_locations = {}
for contact in speaker['contactInfo'].items():
if 'twitterUsername' in contact:
if get_location.get_location(contact[1]) is not None:
temp_locations['location'] = get_location.get_location(contact[1])
if temp_locations:
for key, location in temp_locations.items():
speaker['contactInfo'][key] = location