Puppet parser function sanitize_bool_in_hash(hash)

This function get Hash, recursive convert string implementation
of true, false, none, null, nil to Puppet/Ruby-specific types.

It's should be used while we getting data structures from JSON-like facts. 
ex:

$network_schema = sanitize_bool_in_hash(parsejson($::network_sxema))