Changed how loadValidJSON() is called to allow different pattern filename patterns to be used (for example, error.pattern.json when the source file is error-<LANG>.json).  This gives greater flexibility.