Fix bug with parsing json escaped strings
Enabled -Wall in cpp compilation, and fixed problems in handwritten and generated code