def unwrap(self, d, item):
        nopt = ( lambda x: x )
        try:
            md = d.__metadata__
            pmd = getattr(md, '__print__', None)
            if pmd is None:
                return item
            wrappers = getattr(pmd, 'wrappers', {})
            fn = wrappers.get(item[0], nopt)
            return (item[0], fn(item[1]))
        except:
            pass
        return item
Use the ec2 http service to introspect the instance. This adds latency         if not running on EC2
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/suds/sudsobject.py/Printer.unwrap--crossover with--dataset/ETHPy150Open DataDog/datadogpy/datadog/util/hostname.py/EC2.get_metadata