stripped out html responses and just json