FYI, I ended up just abandoning the blendshapes and rigging everything with bones. Results aren't as good of course (you get much nicer facial expressions with blendshapes).
If you are just trying to export everything as vertex animation there is supposedly a plug-in that can do this. It comes with the Extras download. I haven't tried it though.