I think SQLAlchemy belongs in the model, so move this code into a `subscription_list()` method in `ckan/model/subscription.py` and then call it from here