added beautify-json function