reformatted json to include sections