I know there is a cool Perl script that does this, and I just wrote up how to do it with LibreOffice, but I didn't like the LibreOffice solution and I like to have every Head of House AND spouse imported as a Google contact, so I re-did my exporter and I thought I'd share.
Here LDS CSV to VCARD converter written as an AutoIt script (and compiled into a .exe). The .au3 file is the source code (so if you are uncomfortable running a .exe then you can inspect the .au3 and even run the .au3 file if you have AutoIt installed).
Anyhow, the LDS tools app is better, but if you'd like to import the directory into your Google contacts, then this is another way to do it. (And you should test this first before importing it into your main google account... you can look at the .vcf file it creates and also test the import into a fake/test google account). I also set it up so it includes the relationship AND as a bonus it adds the children to the NOTE field.