pub fn format_output_notes(notes: &OutputNotes<NoteEnvelope>) -> String