Convert hiera cli output to json for easy parsing