puppetlabs/puppetlabs-stdlib — pull request #318 by WhatsARanjit (2014-09-12 01:43:12+00:00)
Title: jstringtohash function

Before structured facts are adopted, some facts in EC2 are returning "JSON" objects which are actually Strings. This function allows you to safely convert them into actual data objects.