format the output of async