.......PS. [ZBXNEXT-2519] added bool variable support to json parser, make decode_value_dyn function public