changed to PickleSerializer to work with datetime