CodeGen module replaces doT templates in Ajv v7
Starting from Ajv v7, the CodeGen module replaces doT templates for JSON schema validation code generation. The motivations for this change include: doT templates were difficult to maintain and change, particularly for occasional contributors; they discouraged modularity within validation keywords code and led to implicit dependencies; they had risks of remote code execution when untrusted schemas were used; ES6 template literals now offer a great alternative to both ASTs and plain string concatenation.