Control of zeolite microenvironment for biomass conversion