Extract wikipedia data into JSON and convert to CSV