index#rut add code to json response