Allowed tasks to be serialized to json