Make tx_valid.json/tx_invalid.json validation flags configurable