Revamped dynamic object pickling