CI inputs conversion problem for string hash
## Summary
Example:
```yaml
include:
- local: include.gitlab-ci.yml
inputs:
data: '{"key": "value"}'
```
The included file:
```yaml
# include.gitlab-ci.yml
spec:
inputs:
data:
type: string
---
job:
image: alpine
script:
- echo '$[[inputs.data]]'
```
Job log:
```
$ echo '{"key"=>"value"}'
{"key"=>"value"}
```
Regression of https://gitlab.com/gitlab-org/gitlab/-/merge_requests/187711+
issue