fix undefined var in JsonUtils::stringToJson()