This is a fast converter from POLY files (Osmosis Polygon Filter File Format) to GeoJSON.
Cargo should be installed.
cargo build --release
./target/release/poly2geojson < test.poly > test.geojson