make individual resource array items add to envelope on being built