Fixed to serialize one events as an array

Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>