got React getting data from a local json file correctly