jsoninfo: put the plugin init hook in the functions table