implement defaults and hiera merging