SLING-562 - pretty-print the json dump if the tidy selector is used. Contributed by Tobias Bocanegra, thanks!