update json_read.py

added check ip