Detecting Biosignatures in the Atmospheres of Gas Dwarf Planets with the James Webb Space Telescope