jsoninfo: move code from olsr_jsoninfo into olsr_plugin