add function to read tweets from JSON file