Remove root for serialization