Read a json file and use it for APIs.