rootNode.put("height", r.getHeight());
rootNode.put("dwtLevels", r.getDWTLevels());
rootNode.put("levels", r.getLevels());
rootNode.put("compositingLayerCount", r.getCompositingLayerCount());
mapper.writeValue(baos, rootNode);
} catch (final DjatokaException e) {
responseFormat = "text/plain";
status = HttpServletResponse.SC_NOT_FOUND;
} catch (final Exception e) {
baos = new ByteArrayOutputStream();