def reformat(keyword, fields):
    """
    Reformat field name to url format using specific keyword.

    Example:
        reformat('comment', ['a','b']) returns
        ['comment(A)', 'comment(B)']
    """
    return ['{}({})'.format(keyword, f.upper()) for f in fields]