def fix_value(value):
    """
    Missing values are repesened by "null" - we need to convert those to None.
    
    SHMU is also pretty priting CSV, so we need to strip leading and
    trailing white space from values.
    """
    
    svalue = value.strip()
    if (svalue == "null"):
        return None
    
    return svalue