handle array result correctly

This version also works with YAML files that look like:

```
en:
  list:
    - element1
    - element2
```