Also handle list of names/mappings.

```yaml
Foo:
  - bar1:
  - bar2:
```

and

```yaml
Foo:
  - bar1
  - bar2
```