like I said - a naive implementation - likely to end up more like this: https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/reports/dispatcher.py#L102