Did it
In case you’re interested, I hacked the Chessbase output. As a result, after automatic processing, is almost valid. Only three errors. I’d have to rewrite their javascript to get the count any lower. I may yet do that, but I’m not that desperate.