import data from a json file