Python: Added a pickle transport to support object serialization