def tamper(payload, **kwargs):
    """
    Escapes a char encoded payload

    Tested against:
        * This is just a proof of concept but used for SQL injection against MySQL 5.7.25
          via a GraphQL query

    Notes:
        * Useful when passing a char unicode encoded payload as part of the GraphQL query as a string via a JSON context

    >>> tamper('\u0022')
    '\\u0022'
    """

    retVal = payload

    if payload:
        retVal = retVal.replace("\\", "\\\\")

    return retVal