Replace “type” with “token_type”, “value” with “token_value”
Replace “type” with “token_type”, “value” with “token_value”

“type” is a reserved word in Python.

berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud