def clean_text(text, findings):
    """clean_text will remove phi findings from a text object
    :param text: the original text sent to the content.inspect DLP endpoint
    :param findings: the full response for the text.
    """
    if 'findings' in findings:
        for finding in findings['findings']:
            label = '**%s**' % finding['infoType']['name']
            text = text.replace(finding['quote'], label)
    return text
