Revert "TS/JPM: combining stdout_replaced with stdout_replace_decorator (same for stderr)"

This reverts commit 5573fe8e00d23cd9dc23e4a8d81269efada6c406.