feat: serialize data