Finish script to generate structure C++ code from JSON description