Use list of ids rather than list of objects