[PATCH 05/10] ch_monitor: Make use of the PTY json builder