added pickling feature to extract revisions