Replaces globs in JSON files with expanded list of files.