Handling csv responses

Hi Greetings. I have handled json response , storing it in file directories. Please provide snippet that would help to store responses as csv.
By cc @kunagpal could you help.
Thanks a lot

@krishnandoss08 See https://github.com/postmanlabs/newman/issues/413#issuecomment-316116450

thanks a lot !:+1:
thanks again