On second thought, storing api keys in a JSON file might not be a good idea; adapting environment variables is better.