changed to only read json file once per session