made minor chages to profile.py to test JSON