fix profiles.py for the new json format
fix profiles.py for the new json format

PythonSanSebastian/ep-tools,PythonSanSebastian/ep-tools,PythonSanSebastian/ep-tools,PythonSanSebastian/ep-tools,EuroPython/ep-tools,EuroPython/ep-tools,EuroPython/ep-tools,EuroPython/ep-tools