Added JSON only exception handler (whoops)