Here's the only uncommented reference I could find in the origin-server code:
controller/test/cucumber/step_definitions/api_steps.rb:require 'nokogiri'
There's also a big list of dependency packages in util/oo-diagnostics that contains references to nokogiri.  That'll need revision before we're done with this exercise.