Starting to make stdout part of the handler contract

such that a given handler can change the payload before it is given to the next handler.  Pipeline for real.