This is possibly beyond the scope of this PR, but eventually we probably want to make `sections` a list of section strings (rather than a single string with all the sections separated by commas as it is currently). This way we can give the front-end a more normalized form of the data so it can have more flexibility in terms of how to render it.