getting trends from the location JSON file