improved nesting of sessions and events in the get all sections call