json: remove two redundant json_print_array() prototypes