new lead to fix our controller to return json