target: Move passthrough CDB parsing into a common function