pub fn pan_file_to_ast_with_encoding_stdout( pan_file: &Path, macro_name: &str, encoding: PanCsvEncoding, ) -> Result<Vec<u8>>
Read a PAN file from disk and return AST JSON bytes for stdout.