How to get the OSM resource reference for a node/edge in the match result?

I’m currently trying to implement it and it looks like the problematic OSM IDs are fake OSM node IDs created in the process when barriers are created. This seems to be a bug as we mix OSM with internal IDs in this case somehow. Will investigate if it is and how to fix this, please see this issue for some more information: https://github.com/graphhopper/graphhopper/issues/917