def METHOD_NAME(obj):
    """ Create hashable representation of result dict. """
    if isinstance(obj, dict):
        return tuple((k, METHOD_NAME(v)) for k, v in obj.items())
    if isinstance(obj, list):
        return tuple(METHOD_NAME(elem) for elem in obj)
    return obj