prints all output stages, but json doesnt print