Add APIs about index usefulness
Make composite metadata work. Change path resolution so that array elements are not needed for parent refs'
Skeleton query plan chooser algorithm