Returns the given value converted to a string. If the value is an array the the string will contain the word HASH.