encapsulate results pickling