creating json data to train time table