renderjsonok method added to json controller