I ended up having to write slightly different JSON files from Wekinator and C++. This needs to be fixed.