pub fn assert_unchanged_via_json<T>(val: T)where T: HasLotusJson + Clone + PartialEq + Debug, T::LotusJson: Serialize + DeserializeOwned,