isolated serialization logic
merge serializer