created the json and time line.