Added the feature to convert hash object to string.