Add sections array to JSON format