STREAMS-236 | Entities are now passed through a Set to ensure that no duplicates make it into the Activity Object
STREAMS-236 | Added test case to ensure that entity de-duplication works
Merge commit '0c6549bc70d20cf3106a4e8c39c5ed035b1a1f29'