public static String getHeaders(final HttpHeaders headers) {
        Map<String, String> map = headers.entrySet().stream()
                .collect(Collectors.toMap(Map.Entry::getKey, entry -> String.join(",", entry.getValue())));
        return JsonUtils.toJson(map);
    }
@Test
    public void testGetHeaders() {
        assertEquals(LogCollectUtils.getHeaders(request.getHeaders()), "{\"X-source\":\"mock test\"}");
    }