Create intervals.json