Code to read json file and flatten it