classes order while deserialization