Use json.load() instead of json.loads()

json.load() read data from fp and make code simpler.