def create_json_from_stories(stories_and_location):
  """ Convert the preprocessed stories into a list of dictionaries. This will help us with making
  the 3d visualizations """
  stories = []
  for story, location, link, geo_coordinates, category, img_url, summary in stories_and_location:
    story_dict = {}
    story_dict["title"] = story
    story_dict["locations"] = location
    story_dict["link"] = link
    story_dict["geo_coordinates"] = geo_coordinates
    story_dict["category"] = category
    story_dict["img_url"] = img_url
    story_dict["summary"] = summary

    stories.append(story_dict)
  return stories