const makeAddedNode = (value, key) => ({
  type: 'added',
  key,
  children: _.isObject(value) ? _.map(value, makeAddedNode) : [],
});