PLAT-5223 Fixed fudge builder to create arrays of correct type.