Convert hiera data to puppet data can come in very handy. For instance, if you are moving data from Hiera to a different format for use in Foreman Smart Variables.

hiera -c /projects/puppet/mysql/clientserver.example.com.yaml

This will output the Hiera data in Puppet data format.