wip - this is unsatisfying, too much impedence to get data out to request properly from mongo; going to shift to sqlalchemy for a while, see how that goes...