wrap user event data in dictionary.