Fix REST clients after the protocol change.