Breaking change: changed deserialization of encrypted elements to go off the element instead of the Type