does this raise on invalid json?  it's important that the existing retry on invalid json behavior be preserved but i can't tell if it is or not here since that test was refactored away.