Refactor Header operation parameters block


- update {{headerParams}} block: add isMap and isAnyType handling.
- update arrays handling.
- introduce a new 'bool percentEncode' parameter to
serializeJsonValue(), serializeArrayValue()
and serializeMapValue() functions.
The parameter is required to distinguish, when operation parameter
needs to be encoded or not.
The encoding is not required for cookie and header parameters.
- delete default arguments from serializeJsonValue(),
serializeArrayValue() and serializeMapValue().
- add headers tests.

Task-number: QTBUG-137180
Change-Id: I83ed33ca23d8c9a91c29eb31548004b68488adb6
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit5f94945e489131b54b2b84aa786ea14af7b50b81
parenta399d770d5487bd75335643be7069cb004f5ef41
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeWed, 17 Sep 2025 16:22:13 +0200