Improve deserialization of older versions of hash lookup and keyword search settings