support legacy de-pickling