Decided the chunks / ensemble results per thread will be written as jsons and not as raw strings. Changed tests accordingly