corrected dynamic headers program

JSON_to_CPP replaced with generate_headers.py. See python-args branch
and #1