upgrade json reporting agent. add timeout to reads to avoid a lockup.