Analytic solutions to nonlinear weakly hyperbolic equations