Correctly return object[] not task from parsing csv