def json_extract(json_data, i, col1, col2):
    """
    extract two columns from json
    """
    parsed1 = json_data['countries'][0]['cities'][0]['places'][i][col1]
    parsed2 = json_data['countries'][0]['cities'][0]['places'][i][col2]
    return parsed1, parsed2