Unpickle an element even if it contains ContextEntity in its attributes