Removing parseXML as it was naive and did not account for multiple records to be returned
Moved parse and dict building into functions.