I am using the following workaround: I am defining the code replacement `people` in a dedicated CR file, e.g., `people.txt`, which I have open in a separate window. Then I edit the code in `people.txt`, rather than in the metadata, reload the captions (I am still using an old version of PM which does not automatically reload CRs), and re-evaluate the fields.
I have gone even further for captioning tennis, `+p1` is the first player, `+p2`, the second player, `+match` the match type, e.g. `first round single men match`, and `d20250526` as `two`, etc.. And then I define my one of caption code replacements as `!c1af =+p1= plays a forehand against =+p2= during the =+match= on day =+d{iptcdate}= of the {yr4} {event} at {location} on {dow}, {monthname} {day}, {year4} in {city}, {country}`.