Changes for sending failed tests as json