publish objects in the events instead of hash