'use strict'

module.exports = toHashOfStrings;

function toHashOfStrings (obj) {
  var out = {};
  for (var key in obj) {
    if (obj.hasOwnProperty(key)) {
      out[key] = obj[key].toString();
    }
  }
  return out;
}

'use strict'

module.exports = toHashOfStrings;

function toHashOfStrings (obj) {
  var out = {};
  for (var key in obj) {
    if (obj.hasOwnProperty(key)) {
      out[key] = new String(obj[key]).toString();
    }
  }
  return out;
}

Fix null/undefined error in hash of strings
Fix null/undefined error in hash of strings
