Just add an ENV var containing a JSON with this metadata. There's tons of env vars that get ignored by programs that don't care about each specifically.
there are workarounds to that by adding eg. the target PID, but that probably comes with its own issues