That'll be a dif PR. We have this problem in a few places. In the near future i want to :
- make js2xml a separate module
- extract the cert stuff to a separate module

with the above im pretty sure most of these inner requires will go away. for now, this seems to work.