Update ldap.rb

Workaround for older puppet https://github.com/sensu/sensu-puppet/blob/master/lib/puppet/provider/sensu_api_config/json.rb#L1