pub(crate) fn rewrite_book(value: &mut Value, config: &Config)
Every chapter, wherever it sits: the walk is over the JSON itself, so a change in how mdBook nests sections between versions does not matter.