if Accept: application/json then return JSON; change /dbJSON to /db given that accommodation