fixed ptv.py and prep-ed for standard format

dicts in dicts.