How to export min networks?

I would like to export the sub-networks that are removed by the setMinNetworkSize(200, 200) parameter. Preferably in terms of OSM way ids.

PrepareRoutingSubnetworks.findSubnetworks(PrepEdgeFilter filter) seems to create the subnetworks. The result is a List of integers that appear to be Graphhopper edge ids. How to convert these back to OSM way ids?