NXP-14956: make IndexingCommand Serializable for Redis