Thought I was going to have to handle JSON in C++ and then realised that I can actually pre-process it somewhere else in a sensible language and phew that makes everything much easier