Check if the objects can be pickled. If not then skip.