Issue:
[BUG] Logging sensitive information on deserialization failure

### Bug Description

In `common_utils/src/ext_traits.rs` we are logging serde_json Values in plaintext when deserialization fails. This is a problem in cases where the JSON objects contain sensitive data.

### Expected Behavior

Sensitive data is not logged. Values are logged after masking.

### Actual Behavior

Sensitive information is logged.

### Steps To Reproduce

Supply malformed data to the `parse_value` method in `ValueExt` trait.

### Context For The Bug

_No response_

### Environment

Are you using hyperswitch hosted version? Yes


### Have you spent some time checking if this bug has been raised before?

- [x] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Resolution:
<think>
PR Context:
- Title: fix(common_utils): Prevent logging sensitive information on deserialization failure
- Merged: 2025-09-24T13:24:48Z
- Files changed: 1 files
- Commits: 6 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
- Modified `parse_value` method in `ValueExt` trait to log the JSON object after masking on deserialization failure.
- Modified `parse_struct` method in `BytesExt`, `ByteSliceExt` and `StringExt` to log values after converting them into a `serde_json::Value` and then masking

### A
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(common_utils): Prevent logging sensitive information on deserialization failure (#8970)
Files to modify:


**crates/common_utils/src/ext_traits.rs**
  Modify existing code