Better to test if the payload is not a string vs. specifically for JSON.