@Deprecated
    public String getJSON() {
        return getJSON(Long.MAX_VALUE);
    }
@Test
    public void testGetJSONFromZLIBCompressedMessage() throws Exception {
        for (int level = -1; level <= 9; level++) {
            final GELFMessage msg = new GELFMessage(TestHelper.zlibCompress(GELF_JSON, level));
            assertEquals(GELF_JSON, msg.getJSON(1024));
        }
    }