With this commit, serialization is done entirely with no allocations what-so-ever.