get correct json for races given the name of the race