pub fn modules_to_dicts(modules: &[ScannedModule]) -> Vec<Value>
Batch-convert a list of ScannedModules to Values.