Tortoise shape serialization