format JSON correctly to display multiple days