Changed controller action to return json