updating reporting rest module to use ws 2.0.