Javascript Filter Out Object From Array To Csv