this change will improve the efficiency of the go benchmark

more efficient marshalling and printing