python flavored pickled scala types