Add support for stripping hash values

Added a new option strip_hash_values that can be used if the caller wants to strip values in hash attributes.