#4535 Improve import-export simulation errors by decoding the `KVPair.Value` into its
respective type