DOCS-3158: made json pprinting consistent