Fix write to add commas between data segments. Also need to remove the last comma and add square brackets at beginning and end. Writes 1000 tweets to the json file to be used.