Use a more unique key to identify the batch query type

`type` is likely to conflict with a "real" property.
Compile