NagiosTopologyAgent: export a topology.json
This was requested by WLCG for... some accounting I think.
side note: the NagiosTopologyAgent now produces BOTH a XML topology and JSON topology, and the content is not exactly the same. The code is far from being perfect, but honestly I don't want to spend too much time on this.