Create routes.json with route + period info.