Capture result from each (major) phase as trees in API

The JSON rendering should go as codecs in the companion object for `PhaseResult`. See the `Config` stuff for an example of how to do this (although I'm not Argonaut expert).