Serializes this backoff criteria into a json object.
Map<String, dynamic> toJson() => { 'policy': policy.index, 'delay': delay.inMicroseconds, };