code: function extractAllItems (result) {
    if (!result) return null;
  
    if (!Array.isArray(result)) result = ('data' in result) ? result.data : result;
    if (!result) return null;
    
    if (!Array.isArray(result)) result = [result];
  
    return result;
  }
docs: Return an array of objects from a Feathers service call.