use api's get_mapping and index list of json files