code: function () {
  
    return _.map(groceries, item => {
      const object = {
        id: item.id,
        name: item.name,
        departmentsCount: item.departments.length
      }
      delete object.departments // @TODO ????
      return object
    })
  }
docs: strange turnaround. @TODO can we