It's useful to diagnose the number of rebase attempts when using commit_rebasing.
We could do this by either having a protected icechunk namespace inside properties. Alternatively, we could accept another closure which accepts num: u16 (the current rebase attempt number) and returns a JsonValue that gets merged with properties.