Resolve real path of /app from /proc/<pid>/maps

Hello, I have a separate program that parses /proc/<pid>/maps and returns the loaded modules. It seem though that all Flatpak apps do not show the real path of the modules, instead it shows /app/ for example. I need to find a way to get the real path of the modules, either by resolving /app in some way or have Flatpak show the real path directly on /proc/<pid>/maps. How can I get that done?
/proc/<pid>/maps example:

563eab00b000-563eab0cb000 r--p 00000000 fd:00 15742257                   /app/bin/someapp
563eab0cb000-563eab62a000 r-xp 000c0000 fd:00 15742257                   /app/bin/someapp
563eab62a000-563eabb5a000 r--p 0061f000 fd:00 15742257                   /app/bin/someapp
563eabb5a000-563eabb93000 r--p 00b4e000 fd:00 15742257                   /app/bin/someapp
563eabb93000-563eabb94000 rw-p 00b87000 fd:00 15742257                   /app/bin/someapp
563eabb94000-563eabb95000 rw-p 00000000 00:00 0 
563eac6d5000-563eacc9b000 rw-p 00000000 00:00 0                          [heap]