I am looking for the best alternative to get a dump of json from a given jcr node.
Old code uses the deprecated sling.commons.json library.
Node node =