def json(value):
    '''
    Sanitize the JSON string using the Bleach HTML tag remover
    '''
    uncleaned = jsonlib.dumps(value)
    clean = bleach.clean(uncleaned)
    return mark_safe(clean)
Sanitize the JSON string using the Bleach HTML tag remover