fixing yaml diffing for python3