actions and resources should return list of objects