code: function getPutOperation(name, thing) {
    if (typeof thing === 'object') {
      thing = JSON.stringify(thing);
    }
  
    return { type: 'put', key: name, value: thing };
  }
docs: Save an thing (any thing) to the database, and log that we did so.
  
  @param {string} name
  @param {object} thing
  @returns {object}