def METHOD_NAME(t):
    type = DO_TYPE_TO_JSON_TYPE.get(t, "string")
    if type == "timestamp":
        return dates.now_str()
    elif type == "datestamp":
        return dates.now_str(FMT_DATE_STD)
    return type