<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _convert_validators_to_mapping(validators):
 """ convert validators list to mapping. Args: validators (list):
 validators in list Returns: dict: validators mapping, use (check, comparator) as key. Examples: {"check": "v1", "expect": 201, "comparator": "eq"}, {"check": {"b": 1}, "expect": 200, "comparator": "eq"} ] { ("v1", "eq"):
 {"check": "v1", "expect": 201, "comparator": "eq"}, ('{"b": 1}', "eq"):
 {"check": {"b": 1}, "expect": 200, "comparator": "eq"} } """

    validators_mapping = {}

    for validator in validators:
        if not isinstance(validator["check"], collections.Hashable):
            check = json.dumps(validator["check"])
        else:
            check = validator["check"]

        key = (check, validator["comparator"])
        validators_mapping[key] = validator

    return validators_mapping