bug2issue: Fix json_tokener_parse return value bug

This patch fixes a bug in validating json_tokener_parse's return value.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>