fixes to generalized I/O writers
filtering gazetteer hits, particularly for GN pipeline