Text this: Existential witness extraction in classical realizability and via a negative translation