pub fn load_config(config_path: &str) -> Result<BatchConfig, String>
Load batch configuration from a JSON file.
Returns an error if the file cannot be read or parsed.