youtube: guard against undefined results
read config from JSON file