Replace hiera_array function call with hiera as the hiera_array call removes duplicate elements which can have unintended results