Error checking cleanup, decode response body