Change to another python serialize library

Hopefully this will run on 10.5
Add 10.5 support for installhistory
Merge branch 'python-serialize-replacement'