Refactor json_ to doc_ variables for cross references within a deploy
descriptor.