Update REST services and SimpleBlockoutTrigger to fix serialization issu...

...es and to all persistence of duration