driver: update for quicktype param
cpp: made flag filtering more sane