Heavy flavor jet production and substructure in electron-nucleus collisions