improved formatting of merged json