Equations prescribed curvature and deformations of the monodromy group