discovering themes and their configs and mapping them to a usable data structure works now. expanded explanatory comments in