What about `Array(__find_records_by_ids klass, items.map { |h| h['_id'] }))` instead?