force render as json if request accept headers ask for json