This is actually pretty convenient for doing c++ to JSON and back