Nature’s Toolbox for the Hydrolysis of Lactams and Cyclic Imides