let to_list (_,sections) = let f s = let chr = s.sec_name in List.map ~f:(fun (i,v) -> chr,i,v) s.sec_data in List.concat (List.map ~f sections)