---
:backends: - yaml
:logger: console
:hierarchy:
<%= hierarchy.to_yaml.split("\n")[1..-1] -%>

:yaml:
   :datadir: <%= datadir %>

---
:backends: - yaml
:logger: console
:hierarchy:
<%= hierarchy.to_yaml.split("\n")[1..-1].join("\n") %>

:yaml:
   :datadir: <%= datadir %>

Fix hierarchy output in template
Bugfix: Fix hierarchy output in template
