Updated parse.py to current, local version which includes fixes for key errors