Fix another issue with jsonpickle

jsonpickle still has trouble unpickling some sweep objects sometimes.
Made some changes so that copies are made of objects so that jsonpickle
stores the whole object instead of a reference to it