generate value for uri from reduce block.