fix non-unicode chars in bams structure resource