reformat debug output for easier comparison with PRECIS framework