I think you may be referring to nested YAML (or similar) if I’m understanding correctly:
this might be something you could try for the time being (and the other suggestions in the topic):