wrap completion output in struct in preparation for fixing quote spacing