supported new spec for deserialization