T new speedup serializer

same as before, but with cleaner commit history