BAZYNGO-686: Allow specifying different types of input and output
objects in generic index, the latter not necessarily being Coral
Resources.