i have made commands to help you fix the problem with villagers the first one is for the trade area in spawn
/summon villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,NoAI:1,Offers:{Recipes:[{buy:{id:coal,Count:17},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:6},sell:{id:iron_helmet,Count:1},maxUses:9999999},{buy:{id:iron_ingot,Count:9},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:14},sell:{id:iron_chestplate,Count:1},maxUses:9999999},{buy:{id:diamond,Count:4},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:19},sell:{id:diamond_chestplate,Count:1,tag:{ench:[{id:34,lvl:2}]}},maxUses:9999999},{buy:{id:emerald,Count:7},sell:{id:chainmail_boots,Count:1},maxUses:9999999},{buy:{id:emerald,Count:11},sell:{id:chainmail_leggings,Count:1},maxUses:9999999},{buy:{id:emerald,Count:7},sell:{id:chainmail_helmet,Count:1},maxUses:9999999},{buy:{id:emerald,Count:12},sell:{id:chainmail_chestplate,Count:1},maxUses:9999999}]},Profession:3,Career:1,CareerLevel:3}
/summon villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,Offers:{Recipes:[{buy:{id:coal,Count:19},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:6},sell:{id:iron_shovel,Count:1,tag:{ench:[{id:32,lvl:1}]}},maxUses:9999999},{buy:{id:iron_ingot,Count:8},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:11},sell:{id:iron_pickaxe,Count:1,tag:{ench:[{id:32,lvl:1}]}},maxUses:9999999},{buy:{id:diamond,Count:3},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:12},sell:{id:diamond_pickaxe,Count:1,tag:{ench:[{id:34,lvl:2}]}},maxUses:9999999}]},Profession:3,Career:3,CareerLevel:2}
/summon villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,Offers:{Recipes:[{buy:{id:string,Count:17},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:arrow,Count:12},maxUses:9999999},{buy:{id:emerald,Count:2},sell:{id:bow,Count:1},maxUses:9999999},{buy:{id:gravel,Count:10},buyB:{id:emerald,Count:1},sell:{id:flint,Count:7},maxUses:9999999}]},Profession:4,Career:2,CareerLevel:2}
/summon villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,Offers:{Recipes:[{buy:{id:porkchop,Count:17},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:chicken,Count:18},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:coal,Count:17},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:cooked_porkchop,Count:6},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:cooked_chicken,Count:9},maxUses:9999999}]},Profession:4,Career:1,CareerLevel:1}
/summon villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,Offers:{Recipes:[{buy:{id:porkchop,Count:14},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:chicken,Count:16},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:pumpkin,Count:13},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:pumpkin_pie,Count:3},maxUses:9999999},{buy:{id:melon,Count:10},sell:{id:emerald,Count:1},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:apple,Count:6},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:cookie,Count:6},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:cake,Count:1},maxUses:9999999}]},Profession:0,Career:1,CareerLevel:3}
the second one is for the vip area witch will be in a different post labeled "vip villagers"