moving hiera definition into params