def format_results(self, results):
        if not results:
            return None
        userobj = results[0][1]

        keymap = self.config.get('KEY_MAP')
        if keymap:
            return {key:scalar(userobj.get(value)) for key, value in keymap.items()}
        else:
            return {key:scalar(value) for key, value in userobj.items()}
Return an (rId, image) 2-tuple for the image identified by
dataset/ETHPy150Open ContinuumIO/flask-ldap-login/flask_ldap_login/__init__.py/LDAPLoginManager.format_results--crossover with--dataset/ETHPy150Open python-openxml/python-docx/docx/parts/document.py/DocumentPart.get_or_add_image