The CLI of KeePassXC supports emitting specific attributes of an entry from a Keepass DB via `show` (https://github.com/keepassxreboot/keepassxc/blob/develop/docs/man/keepassxc-cli.1.adoc#commands). That should be leveraged as master source.