This will need to be done in facter, hiera, puppet-agent, mco and possibly other projects as well.
community PR https://github.com/puppetlabs/hiera/pull/394
merged to master at 3884d5f
This was first released in 3.4.0