def quote_strings(val):
    """
        wraps double quotes around strings
        None is converted to empty string
        Passes everything else through
    """
    if val is None:
        return ""
    if isinstance(val, str):
        return '"{0}"'.format(val)
    return val