use PickleSerializer instead of JSONSerializer