You'll find a JSON file with data lookup for the various car, track and livery IDs in the r3e-spectator-overlay repository.
Had to sanatize to be able to parse the file, by making cars, track, layouts, etc. arrays and remove the "257" stuff, so all is good. But why aren't cars, tracks, layouts, etc. arrays in the first place?