Impact of defect layers on superconductivity in Bi-O-S compounds