type DebugListFn = for<'a> fn(&'a StateRegistry) -> Pin<Box<dyn Future<Output = Vec<Value>> + Send + 'a>>;
Shim: list a repository’s values as JSON.