python code to read data from json file