adds support for :ignore_indices in REST client