Added is_json function in json_utils.py