First try to implement ArraySerializer