Use JSON-LD mode for json documents. Haxe Projects: Fixes for C++ target template. Haxe conditionals and region folding.