def METHOD_NAME(self, bid, resultSpec=None):
    if bid in self.builds:
        ret = [{"name": k, "source": v[1], "value": v[0]}
            for k, v in self.builds[bid]['properties'].items()]
    if resultSpec is not None:
        ret = self.applyResultSpec(ret, resultSpec)
    ret = {v['name']: (v['value'], v['source']) for v in ret}
    return defer.succeed(ret)