generator: handle dubble-quoting