Tweak the output format to satisfy graphchi