code: function convert(traits) {
    var arr = [];
    each(traits, function(key, value) {
      arr.push({ name: key, value: value });
    });
    return arr;
  }
docs: Convert a traits object into the format LiveChat requires.
  
  @param {Object} traits
  @return {Array}