return single Config struct in parseYAML