= with( local!cdtFields: split( stripwith( tostring( ri!cdt ), "[]" ), "," ), local!cdtLabels: apply( fn!index( _, 1, {} ), merge( apply( fn!split( _, "=" ), local!cdtFields ) ) ), local!cdtValues: apply( fn!index( _, 2, {} ), merge( apply( fn!split( _, "=" ), local!cdtFields ) ) ), a!sectionLayout( firstColumnContents: { a!paragraphField( label: "CDT", value: ri!cdt ), a!paragraphField( label: "CDT fields", value: local!cdtFields ), a!paragraphField( label: "CDT labels", value: local!cdtLabels ), a!paragraphField( label: "CDT values", value: local!cdtValues ) } ) )