Python: BUGFIX: JSON/Pickle Python 2/3

Tested on all 8 permutations of client/server JSON/Pickle Python 2/3.