Support nested resource YAML config.