More empty- and nonexistent file handling for JSONVarsGenerator