Build models on json files