Revert "Rework the template to allow multiple traces in one request."

This reverts commit baf23a3e627894e664a26bfdf6be9c1f27e58c01.
Do some fixes.