Properly round-trips results of input and outputs it correctly.