Use json as a backup if yaml is missing