Get hash data from hiera correctly