repc: Fix CMake Unity (Jumbo) builds


Remove some string constants which were only used once;
one of them (JSON) clashes with namespace JSON in utils.cpp.

Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: Ie2a8dbbd33872e51fd912db596e5a8de01ed724a
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
commit1b9aa81d287ed1a3128987f5fd8937e787e7439c
parentf3fe80ba8008dc05c5fce7f44b450f32616bb430
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeTue, 21 Feb 2023 15:28:11 +0100