Why am i getting this error while trying to open json file