I have a clean instance of SDL Web 8 with DXA v2.0 and am using the new R2 data model.
I want to expose Target Group Conditions in the JSON generated by the DXA R2 TBBs but I am not having much success.
I have updated the RenderComponentContent and RenderPageContent TBBs to include the AddTargetGroupsModelBuilder model builder as the last item in the modelBuilderTypeNames pipeline although based on the source code I think it should only be needed in the RenderComponentContent TBB.
Despite adding this TBB and checking Target Groups for a given page, I do not see anything in the JSON that represents the serialized data in the output.
Am I missing any obvious steps here? Happy to provide more verbose detail on request.