DisplayJSONMessagesStream displays a json message stream from `in` to `out`, `isTerminal`
describes if `out` is a terminal. If this is the case, it will print `\n` at the end of
each line and move the cursor while displaying.

JSONProgress describes a Progress. terminalFd is the fd of the current terminal,
Start is the initial value for the operation. Current is the current status and
value of the progress made towards Total. Total is the end value describing when
we made 100% progress for an operation.