jsoninfo: simplify setup of the functions table