Fix when_rendering block

Prior to this commit we did not format the output for humans as we
as the render-as options. This is a first stap at fixing the term
output based on the new ruby objects