Allow templatelang setting to be false to use an empty json document.