def flatten_terms(terms):
    """ 
    [
        { "simple_term": "A" },
        { "simple_term": "B" },
        { "simple_term": "C" }
    ]
    to
    ["A", "B", "C"]
    """
    return [list(i.values())[0] if isinstance(i, dict) else i for i in terms]