Dynamics from quantum Monte Carlo data : a genetic algorithm approach