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.