Tandem bed configuration for sorption-enhanced steam reforming of methane