Fix compilation issues in json_parser
Fix compilation for json_encoder
Fix compilation for json scanner