'Returns a mapping of image metadata from Registry.'

def get_image(self, image_id):

    res = self.do_request('GET', ('/images/%s' % image_id))
    data = jsonutils.loads(res.read())['image']
    return self.decrypt_metadata(data)
