reworked data to include chapters in json.