For our Web 8.5 implementation, we have a requirement to fetch the complete Blueprint structure using C# TBB's. We do have an implementation that uses Metadata Schemas to fetch the Publication details and ascertain whether its a child or a parent and get the structure. However, the metadata field is NOT available for all publications, as they belong to different websites. Is it possible to do it in any other way? As in by directly reading the 'Blueprint Hierarchy' maybe for every publication?
UPDATE:
I now would like to pass the data as a JSON in my TBB. However, JSON for mat is NOT available in the 'ContentType'. Refer Image below. Is there anything I misunderstood?