you can try something like below to make you code simpler:

String result = String.format("{\"case_id\":\"%s\",\"timeout\":\"%s\",...", uuid, timeout);