JsonController template setting fix