sh/jshn.sh: fix json_get_var() and json_get_type() to not return cached values